{% extends "common/default.html" %}
{% block common %}

	<table class="table table-hover  table-bordered table-striped" style="margin-bottom: 0px;">
		<tr>
		  	<th>序号</th>
		  	<th>课程名称</th>
		  	<th>学分</th>
		  	<th>授课老师</th>
		  	<th>成绩</th>
		  </tr>
		  {% for t in ts %}
                            <tr>
                               <td>{{ t.id }}</td>
                                <td>{{ t.courseId.courseName }}</td>
                                <td>{{ t.courseId.credit }}</td>
                                <td>{{ t.courseId.teacherId.trueName }}</td>
                                {% if t.score == None %}
                                    <td>老师暂未打分</td>
                                {% endif %}
                                {% if t.score != None %}
                                    <td>{{ t.score }}分</td>
                                {% endif %}
                            </tr>
                        {% endfor %}
	</table>

{% endblock %}



